<?php 
	require('../wp-config.php');
	date_default_timezone_set('Asia/Ho_Chi_Minh');
	$EVENT = "event";
	$EVENT_JOIN = "event_join";
	$NUM_OF_POST = 10;
	$LINK = "http://" . $_SERVER['SERVER_NAME'] . dirname($_SERVER['PHP_SELF']) . "/";

	$e_conn = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME)
		or die("Can't connect: " . mysqli_error($e_conn));
	require('event-functions.php');
 ?>